package steampunk.art;

import java.awt.Color;
import java.awt.Graphics2D;


import steampunk.GameVars;
import steampunk.art.Art;
import steampunk.geom.Geom;

public class RectArt implements Art {
	private Geom geom;
	public RectArt(Geom geom) {
		this.geom = geom;
	}
	@Override
	public void draw(Graphics2D g) {
		g.setColor(GameVars.getInstance().wireColor);
		g.drawRect(
				(int)geom.left(), (int)geom.top(),
				(int)(geom.right()-geom.left()),
				(int)(geom.bottom()-geom.top()));
	}
	@Override
	public void updateArt(double seconds) {
		return;
	}
}
